From: Daniel van Vugt Date: Thu, 27 May 2021 09:47:14 +0000 (+0800) Subject: theme: Remove background-color from .workspace-background X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~574^2^2~236 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=374a2b2c511d2781492a96520f24a93e6da196f6;p=gnome-shell.git theme: Remove background-color from .workspace-background It's not visible because it's covered by the actual wallpaper, so not rendering it eliminates most of the render time for `workspace-background`, without changing its appearance. When animating the overview by tapping Super, this reduces the shell's overall render time by about 15%. Part-of: --- diff --git a/data/theme/gnome-shell-sass/widgets/_window-picker.scss b/data/theme/gnome-shell-sass/widgets/_window-picker.scss index b3b93f291..fa3f19194 100644 --- a/data/theme/gnome-shell-sass/widgets/_window-picker.scss +++ b/data/theme/gnome-shell-sass/widgets/_window-picker.scss @@ -48,6 +48,5 @@ $window_close_button_padding: 3px; .workspace-background { // keep in sync with BACKGROUND_CORNER_RADIUS_PIXELS in workspace.js border-radius: 30px; - background-color: $osd_bg_color; box-shadow: 0 4px 16px 4px transparentize(darken($osd_bg_color, 30%), 0.7); }